<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>java-openjdk</Name>
        <Homepage>https://openjdk.java.net/</Homepage>
        <Packager>
            <Name>Safa Arıman</Name>
            <Email>safa@ariman.gen.tr</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>OpenJDK Java development kit</Summary>
        <Description>OpenJDK is a development environment for building applications, applets, and components using the Java programming language.</Description>
        <Archive sha1sum="b3fe658765ced659697659bead475ca256650f24" type="targz" name="jdk-15.0.3+0.tar.gz">https://hg.openjdk.java.net/jdk-updates/jdk15u/archive/jdk-15.0.3+0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cpio</Dependency>
            <Dependency>zip</Dependency>
            <Dependency>unzip</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
	    <Dependency>jdk-openjdk</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>jre-openjdk-headless</Name>
        <Summary>OpenJDK Java headless runtime environment</Summary>
        <RuntimeDependencies>
            <Dependency>lcms2</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jaotc</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/java</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jfr</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jjs</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jrunscript</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/keytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/pack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/rmid</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/rmiregistry</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/unpack200</Path>
            <Path fileType="config">/usr/lib/jvm/java-openjdk/conf</Path>
            <Path fileType="config">/etc/java-openjdk</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.base*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.compiler*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.datatransfer*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.desktop*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.instrument*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.logging*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.management*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.naming*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.net.http*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.prefs*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.rmi*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.scripting*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.se*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.security*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.smartcardio*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.sql*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.transaction.xa*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.xml*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.accessibility*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.aot*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.charsets*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.crypto*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.dynalink*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.httpserver*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.internal*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.jdwp.agent*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.jfr*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.jsobject*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.localedata*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.management*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.naming*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.net*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.pack*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.scripting.nashorn*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.sctp*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.security*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.unsupported*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.xml.dom*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.zipfs*</Path>
            <Path fileType="doc">/usr/lib/jvm/java-openjdk/legal</Path>
            <Path fileType="doc">/usr/share/licenses/jre-openjdk-headless</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/man</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/release</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/modules</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/security</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/server</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/tzdb.dat</Path>
            <Path fileType="config">/usr/lib/jvm/java-openjdk/lib/jvm.cfg</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jrt-fs.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/classlist</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jexec*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jfr*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jspawnhelper*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libawt.*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libawt_headless.*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libdtcket*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libextnet*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libfontmanager*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libinstrument*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libj2gss*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libj2pcsc*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libj2pkcs11*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjaas*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjava*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjavajpeg*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjdwp*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjimage*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjli*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjsig*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/liblcms*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libmanagement*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libmlib_image*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libnet*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libnio*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libprefs*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/librmi*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsctp*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsunec*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libunpack*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libverify*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libzip*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/psfont*</Path>
            <Path fileType="man">/usr/share/man/man1/jaotc-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/java-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jfr-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jjs-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jrunscript-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/keytool-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/pack200-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/rmid-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/rmiregistry-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/unpack200-openjdk15.1</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/java-openjdk-java.desktop">freedesktop-java.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/java-openjdk-jconsole.desktop">freedesktop-jconsole.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/java-openjdk-jshell.desktop">freedesktop-jshell.desktop</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="jre_package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>jre-openjdk</Name>
        <Summary>OpenJDK Java full runtime environment</Summary>
        <RuntimeDependencies>
            <Dependency release="current">jre-openjdk-headless</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libawt_xawt*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjawt*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjsound*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsplashscreen*</Path>
        </Files>
    </Package>

    <Package>
        <Name>jdk-openjdk</Name>
        <Summary>OpenJDK Java development kit</Summary>
        <RuntimeDependencies>
            <Dependency release="current">jre-openjdk-headless</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jstatd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jshell</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jarsigner</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/javap</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jstack</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/javadoc</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jdeprscan</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jmap</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jconsole</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jmod</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jcmd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jar</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/javac</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/rmic</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jps</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jpackage</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/serialver</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jstat</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jdb</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jinfo</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jhsdb</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jlink</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jimage</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jdeps</Path>
            <Path fileType="header">/usr/lib/jvm/java-openjdk/include</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/demo</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/jmods</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/ct.sym</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsaproc*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libdt_socket*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libattach*</Path>
            <Path fileType="man">/usr/share/man/man1/jstatd-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jshell-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jarsigner-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/javap-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jstack-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/javadoc-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jdeprscan-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jmap-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jconsole-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jmod-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jcmd-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jar-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/javac-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/rmic-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jps-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/serialver-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jstat-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jdb-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jinfo-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jhsdb-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jlink-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jimage-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jdeps-openjdk15.1</Path>
            <Path fileType="man">/usr/share/man/man1/jpackage-openjdk15.1</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/licenses/java-openjdk</Path>
        </Files>
        <Provides>
            <COMAR script="jdk_package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>openjdk-src</Name>
        <Summary>OpenJDK Java sources</Summary>
        <Files>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/src.zip</Path>
        </Files>
    </Package>

    <Package>
        <Name>openjdk-doc</Name>
        <Summary>OpenJDK Java documentation</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>5
        <Update release="1">
            <Date>2021-03-10</Date>
            <Version>15.0.3.0</Version>
            <Comment>First release.</Comment>
            <Name>Safa Arıman</Name>
            <Email>safa@ariman.gen.tr</Email>
        </Update>
    </History>
</PISI>
